@charset "UTF-8";

.wrap {
  position: relative;
  height: 100%;
  background-color: #1691D7;
}
.form-control{
  width: 100%;
  height: 32px;
  padding: 6px 12px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  -moz-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  -ms-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.entry-bg {
  position: absolute;
  right:0;
  left:0;
  top:0;
  bottom: 0;
  background: url('http://mimg.127.net/index/email/img/2012/all4.jpg') no-repeat;
  background-size: cover;
}
.error-wrapper{
  position: relative;
  max-width: 333px;
  margin: 0 auto 10px;
  i{
    font-size: 20px;
    color: #fc4c24;
    position: absolute;
    top: 50%;
    left: 10px;
    -webkit-transform: translate(0,-51%);
    -ms-transform: translate(0,-51%);
    transform: translate(0,-51%);
  }
  .error{
    border: 1px solid #fc4c24;
    background: #fff5f5;
    padding: 15px 15px 15px 40px;
    border-radius: 4px;
  }
}
.form-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 20px;
  background: #fff;
  border-radius: 3px;
  margin-top: -100px;
  margin-left: -200px;
  width: 400px;
  min-height: 200px;
  &.form-reg{
    margin-top: -260px;
  }
  legend{
    margin: 0 -20px 20px;
    padding: 0 20px;
    display: block;
    box-sizing: content-box;
  }
  h2{
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 -1px;
    line-height: 38px;
    border-bottom: solid 3px #008df3;
    display: inline-block;
  }
  .reg-entry{
    position: absolute;
    top: 30px;
    right: 20px;
  }
  a:hover{
    text-decoration: none;
  }
  .form-group{
    position: relative;
    &:before{
      content: " ";
      display: table;
    }
    label[class^=icon-]{
      position: absolute;
      top: 15px;
      left: 10px;
      i{
        font-size: 20px;
        color: #aaa;
      }
      &+input{
        padding-left: 40px;
        min-height: 50px;
      }
    }
  }
  span.error {
    top: -40px;
  }
  .btn-primary{
    display: block;
    width: 100%;
    padding: 12px 0;
    margin: 0 auto 10px;
  }
  .form-entry {
    select.form-control {
      border-radius: 0;
      -webkit-appearance: none;
      -moz-appearance: none;
      background-image: url('');
      background-size: 9px 6px;
      background-position: right center;
      background-origin: content-box;
      background-repeat: no-repeat;
    }
    span.error {
      top: -32px;
    }
  }
}